<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $title;?></title>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="utf-8" />
<link href="favicon.ico" rel="shortcut icon" />
<link href="<?php echo CSS_PATH;?>/base_css/head_content.css" rel="stylesheet" type="text/css" />
<link href="<?php echo CSS_PATH;?>/base_css/forumdetail.css" rel="stylesheet" type="text/css" />
<script src="<?php echo JS_PATH;?>/base_js/jquery-1.8.3.min.js"></script>
<script src="<?php echo JS_PATH;?>/base_js/jquery.page.js"></script>
<script src="<?php echo JS_PATH;?>/base_js/base.js"></script>
<script src="<?php echo JS_PATH;?>/base_js/forumdetails.js"></script>
<script type="text/javascript">
	var pageCount = <?php echo $total;?>;
	var fid = <?php echo $fid;?>;
	var project = <?php echo "'".$project."'";?>;

</script>
</head>

<body>

<div class="hony">
</div>
<div class="luminous">
</div>
<div class="main">
	<!--头部登录与导航-->
	<?php include template("proscenium/mouse","head"); ?>	
    <!--主体content-->
    <div class="filter">
    <div class="content">
    	<div class="cont-left">
			<?php include template("proscenium/mouse","left_status"); ?>
			<div class="mb">
        		<ul>
            		<li><button id="news" class="news"></button></li>
                    <li><button id="multiple" class="multiple"></button></li>
                    <li><button id="forumactive" class="forumactive"></button></li>
                    <li><button id="arder" class="arder"></button></li>
                </ul>
            </div>
	    </div>	
    <!--下面需要添加的内容--> 
	<div class="cont-right">
       	<div class="search">      	
        </div>
        <div class="forum">
				<div class="top">            	
                    <div class="definition" style="font-size:1.5vw; color:#cc9933; font-weight:bolder; font-family:'MS Serif', 'New York', serif;">
                    	〉<?php echo $title;?>
                    </div>
                   <form id="sreach" action="index.php?m=content&c=index&a=search" method="get">    
                    <div class="rake">
                        <input class="sreachlun" type="text" id="sreach_text" name="key" placeholder="论 坛 查 询"/>
                                       
                    </div>
                    </form>	 
                </div>
				<div class="motif">
                	<div class="fz">
						<button class="fabuz on">发 布 主 题</button>		    </div> 
                    <div class="tcdPageCode">
						
                    </div>
                </div>

                <table width="100%">
                	<thead>
        			<tr>
            			<td width="49%" style="text-indent:73px;">标题</td>
            			<td width="18%">作者</td>
                        <td width="9%">回复</td>
                        <td width="8%">点击</td>
                        <td width="16%" style="text-align:right;">最后发帖</td> 
        			</tr>
        			</thead>
        			<tbody>
					<?php $n=1;if(is_array($discuz_data)) foreach($discuz_data AS $r) { ?>
						<tr>
							<td style="text-indent:73px;"><a target="_blank" href="<?php echo $project;?>?mod=viewthread&tid=<?php echo $r['tid'];?>&extra=page%3D1"><?php echo $r['subject'];?></a></td>
							<td><?php echo $r['author'];?></td>
							<td><?php echo $r['replies'];?></td>
							<td><?php echo $r['views'];?></td>
							<td style="text-align:right;"><?php echo date('Y-m-d H:i',$r['lastpost']);?></td>
						</tr>
					<?php $n++;}unset($n); ?>
                    </tbody>
    		</table>
				
				<div class="motif">
                	<div class="fz">
						<button class="fabuz on">发 布 主 题</button>		    </div> 
                    <div class="tcdPageCode">
						
                    </div>
                </div>
                                
			</div>
    </div>
   
    </div>
    	<div class="character"></div>
    </div>
    <!--页脚-->
	<?php include template("proscenium/mouse","foot"); ?>
</div>
</body>
</html>